﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="MasterPageIframeHospital.aspx.cs"
    Inherits="HZ.Supervise.Web.Master.MasterPageIframe" %>

<%@ Register Src="UserSiteMapPath.ascx" TagName="UserSiteMapPath" TagPrefix="uc1" %>
<%@ Register Assembly="System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
    Namespace="System.Web.UI" TagPrefix="asp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <title>监管系统</title>
    <link  rel="stylesheet" type="text/css" href="../Style/s-type.css" />

    <script src="../Scripts/jquery-1.3.2.min.js" type="text/javascript"></script>

    <script type="text/javascript" src="../scripts/Common.js"></script>

    <script type="text/javascript" src="../scripts/global.js"></script>

    <script type="text/javascript" src="../scripts/PCASClass.js"></script>

    <script type="text/javascript" src="../scripts/My97DatePicker/WdatePicker.js"></script>

    <script type="text/javascript" src="../scripts/mainlistSelect.js"></script>
    
    <script src="../scripts/DynaForm.js" type="text/javascript"></script>
    
    <script src="../scripts/GenUtils.js" type="text/javascript"></script>

        <style type="text/css">
        .style2
        {
            width: 105px;
        }
    </style>

    <script type="text/javascript" src="../Scripts/jquery.cookie.js"></script>

    <script type="text/javascript">
//        var COOKIE_NAME = 'iframeurl';

//        $().ready(function() {
//            var s = $.cookie(COOKIE_NAME);
//            if (s != null) {
//                $("#ifmain").attr("src", s);
//            }
//            else {
//                $("#ifmain").attr("src", "../Secondphase/ReportHospital/ReportOfHospitalFirstLevel.aspx");
//            }

        //        });
        $().ready(function() {
            var url = '<%=strURL%>';
            $("#ifmain").attr("src", url);

        });
        function seturl(sessionid) {//更改iframe内容

            $("#ifmain").attr("src", "../Secondphase/ReportHospital/ReportOfHospitalFirstLevel.aspx?sessionid=" + sessionid);
            // $("#ifmain").contents().find("#fist").attr("href", "http://www.baidu.com");
        }
//        function Refresh() { //查询时不刷新iframe内容页

//            $.cookie(COOKIE_NAME, $("#ifmain").attr("src"));
//        }
        function logout() {
            if (confirm("确定要退出系统吗？")) {
                location.replace("../Common/logout.aspx");
            }
        }
    </script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="container">
        <div id="s-top">
            <div id="s-head">
                <div id="s-logo">
                    <img src="../lib/images/second_logo.gif" />
                    <div id="s-p">您好：欢迎使用监管系统！<br />
                    <a href="#">[网站主页]</a> <a href="javascript:void(0);" onclick="CallFunc('../Admin/PasswordUpdate.aspx','FORM',null);">[修改密码]</a> 
                    <a href="javascript:void(0);" onclick="javascript:logout();return false;">[注销退出]</a> 
                 </div>
                </div>
                <div id="s-add">
                    <ul>
                     <li><a href="../Master/MasterPageIframeArea_New.aspx">
                            <img src="../lib/images/s-add-zx2.gif" /></a> </li>
                        <li><a href="../Master/MasterPageIframeStatistics.aspx">
                            <img src="../lib/images/s-add-bb.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeHospital.aspx">
                            <img src="../lib/images/s-add-yy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeCompany.aspx">
                            <img src="../lib/images/s-add-qy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeArea.aspx">
                            <img src="../lib/images/s-add-dq.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeSort.aspx">
                            <img src="../lib/images/s-add-lb.gif" /></a></li>
                        <li><a href="../Default.aspx" target="_self">
                            <img src="../lib/images/s-add-zdy.gif" /></a></li>
                        <li><a href="../Master/MasterPageIframeComparison.aspx">
                            <img src="../lib/images/s-add-db.gif" /></a></li>
                    </ul>
                </div>
            </div>
<%--            <div id="s-hello">
                <div id="s-hello-l">
                    您好：欢迎使用监管系统！</div>
                <div id="s-hello-r">
                    <ul>
                        <li><a href="#">[网站主页]</a></li>
                        <li><a href="javascript:void(0);" onclick="CallFunc('../Admin/PasswordUpdate.aspx','FORM',null);">
                            [修改密码]</a></li>
                        <li><a href="javascript:void(0);" onclick="javascript:logout();return false;">[注销退出]</a></li>
                    </ul>
                </div>
            </div>--%>
        </div>
        <div id="s-center">
            <div id="s-left">
<div id="s-nav_wrap">
                    <div id="s-nav">
                        <ul class="c">
                            <li class="s-title"><span class="v">
                                <img src="../lib/images/s-img1.gif" />检索</span>
                        </ul>
                    </div>
                    <!--nav-->
                    <div id="s-tmenu">
                        <table width="100%" border="0" cellspacing="0" cellpadding="0">
                            <tr>
                                <td>
                                    <asp:Label ID="lbname" runat="server" Text="医院名称 "></asp:Label>
                                </td>
                                <td class="style2">
                                    <asp:TextBox ID="txtname" runat="server" Height="16px" Width="102px"></asp:TextBox>
                                </td>
                                <td>
                                    <asp:ImageButton ID="btnQuery" runat="server" OnClick="btnQuery_Click" ImageUrl="~/lib/images/s-search.gif"  
                                        Width="50px" Height="20px" text="查询" ToolTip="点击查询符合条件的数据" />
                                </td>
                            </tr>
                        </table>
                    </div>
</div>
                <!--nav_wrap-->
                <div id="s-yy">
                    <div id="s-yy-title">
                        <img src="../lib/images/s-img1.gif" />医院名称</div>
                    <div id="s-yy-content">
                        <asp:GridView ID="gvwselect" runat="server" AutoGenerateColumns="False"
                            CssClass="mainlist" Width="100%"
                            OnRowDataBound="gvwselect_RowDataBound">
                            <Columns>
                                <asp:BoundField DataField="HospitalName" HeaderText="医院名称" ItemStyle-HorizontalAlign="Center" >
<ItemStyle HorizontalAlign="Left" VerticalAlign="Middle"></ItemStyle>
                                </asp:BoundField>
                            </Columns>
                        </asp:GridView>
                    </div>
        <webdiyer:AspNetPager ID="AspNetPager1" runat="server"  ShowPageSizeBox="false" ShowMoreButtons="false"
                        onpagechanged="AspNetPager1_PageChanged" NumericButtonCount="5" 
                        ReverseUrlPageIndex="false" ShowDisabledButtons="False" 
                        ShowFirstLast="False" ShowPrevNext="False" CustomInfoHTML="" 
                        CustomInfoStyle="display:none">
        </webdiyer:AspNetPager>
                </div>
    </div>
            <div id="s-main">
        <iframe id="ifmain" name="mainWorkArea"  scrolling="yes"
            width="100%" height="500px" frameborder="0">浏览器不支持嵌入式框架，或被配置为不显示嵌入式框架。</iframe>
    </div>
         </div>
        <div id="s-bottom">
            江苏华招网信息技术有限公司 技术支持         </div>
        </div>
    </form>
</body>
</html>
